package com.tongji.showroom.events
{ 
	import flash.events.Event;
	
	/**
	 * 
	 * @author jiarong
	 * 
	 */
	public class GetSystemSceneEvent extends Event
	{
		public static const GET_ALL_SCENE:String = "getAllScene";
		public static const UPDATE_ALL_SCENE:String = "updateAllScene";
		
		public var userId:Number;
		public var scjId:String;
		public var sfgId:String;
		public var currentPage:int;
		public var pageSize:int;
		public var scene:String;
		
		/**
		 * 
		 * @param type
		 * GET_ALL_SCENE：获取场景
		 * UPDATE_ALL_SCENE：更新场景
		 * 
		 * @param scene
		 * scene：从数据库获取数据
		 */		
		
		public function GetSystemSceneEvent(type:String, userId:Number = 0, scjId:String = null, sfgId:String = null, currentPage:int = 1, pageSize:int = 9, scene:String = null)
		{
			super(type);
			
			this.userId = userId;
			this.scjId = scjId;
			this.sfgId = sfgId;
			this.currentPage = currentPage;
			this.pageSize = pageSize;
			this.scene = scene;
		}
		
		override public function clone():Event
		{
			return new GetSystemSceneEvent(type, userId, scjId, sfgId, currentPage, pageSize, scene);
		}
	}
}